package org.zs.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.zs.service.TopService;
import org.zs.service.UserServiceTs;

import java.beans.Transient;

@Service
public class TopServiceImp implements TopService {
    @Autowired
    private UserServiceTs userServiceTs;

    @Transactional
    public void updateUserInfo1() {
        userServiceTs.changeName();
        System.out.println("++++++++");
        userServiceTs.changeName1();
    }
}
